From 7e6e379dbf961f3b398bde5b64f837d595da8358 Mon Sep 17 00:00:00 2001 From: justbur Date: Sat, 11 Jul 2015 12:52:35 -0400 Subject: [PATCH] Show prefix in can't show messages --- which-key.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/which-key.el b/which-key.el index b71498c3b04..20594797c8a 100644 --- a/which-key.el +++ b/which-key.el @@ -733,13 +733,13 @@ the maximum number of lines availabel in the target buffer." first-page (car pages) first-page-str (concat prefix-string (car first-page))) (cond (no-room - (message "which-key can't show keys: The settings and/or frame size are too restrictive.") + (message "%s- which-key can't show keys: Settings and/or frame size are too restrictive." prefix-keys) (cons 0 0)) (max-pages-reached (error "error: which-key reached the maximum number of pages") (cons 0 0)) ((<= (length formatted-keys) 0) - (message "which-key: no keys to display") + (message "%s- which-key: no keys to display" prefix-keys) (cons 0 0)) (t (if (eq which-key-popup-type 'minibuffer) -- 2.30.2